<template>
  <div>
    <h2>用户管理</h2>

    <router-link to="/page2">跳转到成员管理</router-link>
  </div>
</template>

<script>
export default {
  name: "Page1",
  data(){
    return {
      username: '' //姓名
    }
  },
  mounted() {
    //从路由参数中获得参数
    this.username = this.$route.query.username;
  }
}
</script>
<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}
h2{
  text-align: center;
}
a {
  text-align: center;

  color: black;
}
a:hover{
  color: red;
}
</style>